package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 人脸识别对象 sys_face_log
 * 
 * @author yfkj
 * @date 2022-01-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysFaceLog extends com.ruoyi.common.core.web.domain.BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 人脸主键 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "${comment}")
    private Long sysFaceId;
    /** 人脸路径 */
    @com.ruoyi.common.core.annotation.Excel(name = "人脸路径")
    @TableField(exist = true)
    @ApiModelProperty(value =  "人脸路径")
    private String faceUrl;
    /** 比对分数 */
    @com.ruoyi.common.core.annotation.Excel(name = "比对分数")
    @TableField(exist = true)
    @ApiModelProperty(value =  "比对分数")
    private String compareScore;
    public static final String SYS_FACE_ID="sys_face_id";
    public static final String FACE_URL="face_url";
    public static final String COMPARE_SCORE="compare_score";
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sysFaceId", getSysFaceId())
            .append("faceUrl", getFaceUrl())
            .append("compareScore", getCompareScore())
            .toString();
    }
}
